package com.edfu.commons.email.vo;

import java.io.InputStream;
import java.io.Serializable;

/**
 * @author naresred
 *
 */
public class TemplateContent implements Serializable {

	private static final long serialVersionUID = -3786327196599683735L;
	
	private int id;
	private String name;
	private String mimeType;
	private InputStream content;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getMimeType() {
		return mimeType;
	}
	public void setMimeType(String mimeType) {
		this.mimeType = mimeType;
	}
	
	public InputStream getContent() {
		return content;
	}
	public void setContent(InputStream content) {
		this.content = content;
	}
	
	@Override
	public String toString() {
		return "EmailImage [id=" + id + ", name=" + name + ", mimeType="+ mimeType + "]";
	}	

}
